package com.ssh.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Goodstype entity. @author MyEclipse Persistence Tools
 */

public class Goodstype implements java.io.Serializable {

	// Fields

	private Integer goodtypeId;
	private String goodtypeName;
	private Set goodses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Goodstype() {
	}

	/** full constructor */
	public Goodstype(String goodtypeName, Set goodses) {
		this.goodtypeName = goodtypeName;
		this.goodses = goodses;
	}

	// Property accessors

	public Integer getGoodtypeId() {
		return this.goodtypeId;
	}

	public void setGoodtypeId(Integer goodtypeId) {
		this.goodtypeId = goodtypeId;
	}

	public String getGoodtypeName() {
		return this.goodtypeName;
	}

	public void setGoodtypeName(String goodtypeName) {
		this.goodtypeName = goodtypeName;
	}

	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

}